package pgdgit01;

/**
 * Provides a set of methods for accessing default library item information.
 * @author UWC PGD SWD group, September 2013
 */
public interface LibraryItem {
    /**
     * Getter for the item identification number.
     * @return the library item ID number
     */
    int getItemId();
    
    /**
     * Getter for the name of the library item.
     * @return the item name
     */
    String getItemName();
    
    /**
     * Getter for the <code>PublicationType</code> of the item.
     * @return the publication type
     */
    PublicationType getItemType();
    
    /**
     * Getter for the date on which the item was checked out of the library.
     * @return the checkout date
     */
    String getCheckoutDate();
    
    /**
     * Setter for the date on which the item was checked out of the library.
     * @param date the checkout date
     */
    void setCheckoutDate(String date);
    
    /**
     * Getter for the date by which the item must be returned to the library.
     * @return the return date
     */
    String getReturnDate();
    
    /**
     * Setter for the date on which the item must be returned to the library.
     * @param date the return date
     */
    void setReturnDate(String date);
}
